package com.atguigu.structure.composite;

public class Department extends EduComponent{
    public Department(String name) {
        super(name);
    }

    @Override
    protected void print() {
        System.out.println("---"+name);
    }
}
